import request from '../../utils/request'

// 分页查询
export function classifyList(data: object) {
  return request({
    url: '/classify/list',
    method: 'post',
    data: data
  })
}

export function addOrUpdateClassify(data: object) {
    return request({
      url: '/classify/addOrUpdate',
      method: 'post',
      data: data
    })
  }
